/* 手绘风格天气卡片 */
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

.hand-drawn-card {
    width: 100%;
    background-color: #f9f6e7;
    border-radius: 8px;
    padding: 20px;
    color: #333;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-family: 'Indie Flower', cursive;
    border: 2px solid #333;
    transform: rotate(-1deg);
}

.hand-drawn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none" stroke="%23333" stroke-width="0.5" stroke-dasharray="5,5" /></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.hand-drawn-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px dashed #333;
    padding-bottom: 10px;
}

.hand-drawn-card-location {
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #6a8d73;
}

.hand-drawn-card-date {
    font-size: 16px;
    transform: rotate(2deg);
}

.hand-drawn-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hand-drawn-card-temp {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    color: #e67e22;
    text-shadow: 2px 2px 0 #f9f6e7, 3px 3px 0 #333;
}

.hand-drawn-card-temp span {
    font-size: 30px;
    vertical-align: top;
}

.hand-drawn-card-icon {
    width: 80px;
    height: 80px;
    filter: url('#hand-drawn-filter');
    transform: rotate(5deg);
}

.hand-drawn-card-description {
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: #6a8d73;
    transform: rotate(-1deg);
    text-decoration: underline;
}

.hand-drawn-card-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #333;
}

.hand-drawn-card-details-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(var(--rotation));
    --rotation: 0deg;
}

.hand-drawn-card-details-item:nth-child(1) {
    --rotation: -2deg;
}

.hand-drawn-card-details-item:nth-child(2) {
    --rotation: 1deg;
}

.hand-drawn-card-details-item:nth-child(3) {
    --rotation: -1deg;
}

.hand-drawn-card-details-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.hand-drawn-card-details-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #333;
}

/* SVG滤镜用于手绘效果 */
.hand-drawn-card svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hand-drawn-card-temp {
        font-size: 40px;
    }
    
    .hand-drawn-card-temp span {
        font-size: 20px;
    }
    
    .hand-drawn-card-icon {
        width: 60px;
        height: 60px;
    }
} 